<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>test - jQuery</title>
        <script src="../script/jquery-1.9.1.js" type="text/javascript"></script>
        <script src="newTBv0.3.js" type="text/javascript"></script>  
        <script>
            $(function(){
                $("#divbtn").css("cursor","pointer").on("mouseover",function(){
                    $("#divshow").css({
                        "background-color":"#69C",
                        "color":"#fff"
                        }).fadeIn(300);
                }).on("click",function(){$("#divshow").fadeOut(200);});    
                //………………………………
                $("#newtb").newTB({
                	text:"qwerfsdfgsrfgv!"
                });
                console.log("-----------");
                $("#show-btn").attr("href","www.baidu.com");
                //document.getElementById("show-btn").click();
                $("#show-btn").click();
                $("#show-btn").trigger("click");
            });
        </script>      
    </head>
    <body>
        <h1>New Web Project Page</h1>
        <br />
       
    <br />
    <a id="show-btn">按下</a>
    <div id="divbtn"><h2>maybe click here</h2></div>
    <div id="divshow" style="display: none;"><h1> I am here</h1></div>
    <div id="newtb" > </div>
    </body>
</html>
